home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
bs1
/
src
/
bs1.lzh
/
MENU.BAS
Wrap
BASIC Source File
|
1992-03-08
|
8KB
|
218 lines
1000 '
1010 ' Super Easy Menu for TRAIN.SND / FWC6
1020 ' by _kuni()
1030 '
1040 *INIT
1050 CLEAR,,512,2000000,512
1060 SCREEN@ 0:CLS
1070 DIM LDDTA%(925000)
1080 LOAD@ "MENU.TIF"
1090 SYMBOL(450, 70),"JUST" ,4,4,5,,PSET
1100 SYMBOL(520,150),"a" ,2,2,5,,PSET
1110 SYMBOL(480,200),"Moment",2,2,5,,PSET
1120 GOSUB *MS00
1130 LN$="MENU.SND":SW$="0":J=0:GOSUB *SETF
1140 LINE (400,0)-(639,299),PSET,1,BF
2000 ' MAIN ROUTINE -----------------------------------------*
2010 *MAIN
2020 WHILE SW$ <> "9"
2030 GOSUB *FLIST
2040 MOUSE 0
2050 MOUSE 4,420,15,619,285
2060 MOUSE 1,550,25,1
2070 WHILE SW$="0"
2080 IF MOUSE(2,0) <> 0 THEN SW$="1"
2090 WEND
2100 I=MOUSE(1)
2110 IF I<260 THEN GOSUB *ACT1 ELSE SW$="9"
2120 MOUSE 5
2130 WEND
2140 END
3000 ' FILE LOAD & PLAY -------------------------------------*
3010 *SETF
3020 ERASE LDDTA%:DIM LDDTA%(925000)
3030 LOAD@ LN$,LDDTA%
3040 PCMPLAY LDDTA%
3050 IF J<>0 THEN GOSUB *MSET
3060 WHILE SW$="1"
3070 IF MOUSE(2,1) <> 0 THEN SW$="5"
3080 WEND
3090 SW$="0"
3100 GOSUB *MS00
3110 RETURN
4000 ' DISPLAY FILE MENU ------------------------------------*
4010 *FLIST
4020 LINE (420,15)-(619,285),PSET,0,BF
4030 SYMBOL(430, 20),"KOKAN .SND",1,1,7,,PSET
4040 SYMBOL(430, 40),"KOKAN2 .SND",1,1,7,,PSET
4050 SYMBOL(430, 60),"EF65FTAN.SND",1,1,7,,PSET
4060 SYMBOL(430, 80),"EF66 .SND",1,1,7,,PSET
4070 SYMBOL(430,100),"SUPER .SND",1,1,7,,PSET
4080 SYMBOL(430,120),"YAKUMO2 .SND",1,1,7,,PSET
4090 SYMBOL(430,140),"DE10A .SND",1,1,7,,PSET
4100 SYMBOL(430,160),"DE10B .SND",1,1,7,,PSET
4110 SYMBOL(430,180),"SUNLINER.SND",1,1,7,,PSET
4120 SYMBOL(430,200),"KINKO115.SND",1,1,7,,PSET
4130 SYMBOL(430,220),"YAKUMO .SND",1,1,7,,PSET
4140 SYMBOL(430,240),"GETADEN .SND",1,1,7,,PSET
4150 SYMBOL(430,260)," ----- END ----- ",1,1,7,,PSET
4160 RETURN
5000 ' DISPLAY SET & FILE SELECT ----------------------------*
5010 *ACT1
5020 MOUSE 1,550,260,1
5030 IF I>=15 AND I<40 THEN GOSUB *SL01
5040 IF I>=40 AND I<60 THEN GOSUB *SL02
5050 IF I>=60 AND I<80 THEN GOSUB *SL03
5060 IF I>=80 AND I<100 THEN GOSUB *SL04
5070 IF I>=100 AND I<120 THEN GOSUB *SL05
5080 IF I>=120 AND I<140 THEN GOSUB *SL06
5090 IF I>=140 AND I<160 THEN GOSUB *SL07
5100 IF I>=160 AND I<180 THEN GOSUB *SL08
5110 IF I>=180 AND I<200 THEN GOSUB *SL09
5120 IF I>=200 AND I<220 THEN GOSUB *SL10
5130 IF I>=220 AND I<240 THEN GOSUB *SL11
5140 IF I>=240 AND I<260 THEN GOSUB *SL12
5150 RETURN
6000 ' SYMBOL -----------------------------------------------*
6010 *SL01
6020 LN$="KOKAN.SND":J=1
6030 SYMBOL(430, 20),"KOKAN .SND",1,1,4,,PSET
6040 GOSUB *SETF:RETURN
6050 *SL02
6060 LN$="KOKAN2.SND":J=2
6070 SYMBOL(430, 40),"KOKAN2 .SND",1,1,4,,PSET
6080 GOSUB *SETF:RETURN
6090 *SL03
6100 LN$="EF65FTAN.SND":J=3
6110 SYMBOL(430, 60),"EF65FTAN.SND",1,1,4,,PSET
6120 GOSUB *SETF:RETURN
6130 *SL04
6140 LN$="EF66.SND":J=4
6150 SYMBOL(430, 80),"EF66 .SND",1,1,4,,PSET
6160 GOSUB *SETF:RETURN
6170 *SL05
6180 LN$="SUPER.SND":J=5
6190 SYMBOL(430,100),"SUPER .SND",1,1,4,,PSET
6200 GOSUB *SETF:RETURN
6210 *SL06
6220 LN$="YAKUMO2.SND":J=6
6230 SYMBOL(430,120),"YAKUMO2 .SND",1,1,4,,PSET
6240 GOSUB *SETF:RETURN
6250 *SL07
6260 LN$="DE10A.SND":J=7
6270 SYMBOL(430,140),"DE10A .SND",1,1,4,,PSET
6280 GOSUB *SETF:RETURN
6290 *SL08
6300 LN$="DE10B.SND":J=8
6310 SYMBOL(430,160),"DE10B .SND",1,1,4,,PSET
6320 GOSUB *SETF:RETURN
6330 *SL09
6340 LN$="SUNLINER.SND":J=9
6350 SYMBOL(430,180),"SUNLINER.SND",1,1,4,,PSET
6360 GOSUB *SETF:RETURN
6370 *SL10
6380 LN$="KINKO115.SND":J=10
6390 SYMBOL(430,200),"KINKO115.SND",1,1,4,,PSET
6400 GOSUB *SETF:RETURN
6410 *SL11
6420 LN$="YAKUMO.SND":J=11
6430 SYMBOL(430,220),"YAKUMO .SND",1,1,4,,PSET
6440 GOSUB *SETF:RETURN
6450 *SL12
6460 LN$="GETADEN.SND":J=12
6470 SYMBOL(430,240),"GETADEN .SND",1,1,4,,PSET
6480 GOSUB *SETF:RETURN
7000 ' DISPLAY CONDITION ------------------------------------*
7010 *MSET
7020 LINE (420,15)-(619,285),PSET,0,BF
7030 IF J=1 THEN GOSUB *MS01
7040 IF J=2 THEN GOSUB *MS02
7050 IF J=3 THEN GOSUB *MS03
7060 IF J=4 THEN GOSUB *MS04
7070 IF J=5 THEN GOSUB *MS05
7080 IF J=6 THEN GOSUB *MS06
7090 IF J=7 THEN GOSUB *MS07
7100 IF J=8 THEN GOSUB *MS08
7110 IF J=9 THEN GOSUB *MS09
7120 IF J=10 THEN GOSUB *MS10
7130 IF J=11 THEN GOSUB *MS11
7140 IF J=12 THEN GOSUB *MS12
7150 RETURN
8000 '
8010 *MS00
8020 LOAD@ "TITLE.TIF",(0,300)
8030 SYMBOL(100,330),"超簡易SNDデータ再生メニュー",2,2,1,,PSET
8040 SYMBOL(150,380),"音色データ選択=左クリック",1,1,5,,PSET
8050 SYMBOL(150,400),"初期メニュー =右クリック",1,1,5,,PSET
8060 SYMBOL(200,425),"(注)汎用プログラムではありません",1,1,2,,PSET
8070 RETURN
8080 *MS01
8090 LOAD@ "EF65PF.TIF",(0,300)
8100 SYMBOL(430, 20),"フレート・ライナーと ",1,1,5,,PSET
8110 SYMBOL(430, 40),"近郊型電車のすれ違い。",1,1,5,,PSET
8120 SYMBOL(430, 60),"フレート・ライナーは、",1,1,5,,PSET
8130 SYMBOL(430, 80),"EF65+コキ5500系。",1,1,5,,PSET
8140 SYMBOL(430,100),"近郊型電車は 115系。 ",1,1,5,,PSET
8150 RETURN
8160 *MS02
8170 LOAD@ "EF66A.TIF",(0,300)
8180 SYMBOL(430, 20),"フレート・ライナーと ",1,1,5,,PSET
8190 SYMBOL(430, 40),"近郊型電車のすれ違い。",1,1,5,,PSET
8200 SYMBOL(430, 60),"フレート・ライナーは、",1,1,5,,PSET
8210 SYMBOL(430, 80),"EF66+コキ5500系。",1,1,5,,PSET
8220 RETURN
8230 *MS03
8240 LOAD@ "EF65F.TIF",(0,300)
8250 SYMBOL(430, 20),"EF65F の単機回送。",1,1,5,,PSET
8260 RETURN
8270 *MS04
8280 LOAD@ "EF66B.TIF",(0,300)
8290 SYMBOL(430, 20),"フレート・ライナー通過",1,1,5,,PSET
8300 SYMBOL(430, 60),"EF66100 +コキ5500",1,1,5,,PSET
8310 RETURN
8320 *MS05
8330 LOAD@ "EF66A.TIF",(0,300)
8340 SYMBOL(430, 20),"スーパー・ライナー通過",1,1,5,,PSET
8350 SYMBOL(430, 60),"EF66+コキ 50000系",1,1,5,,PSET
8360 SYMBOL(430, 80),"コキ5500系混成編成。 ",1,1,5,,PSET
8370 RETURN
8380 *MS06
8390 LOAD@ "YAKUMO.TIF",(0,300)
8400 SYMBOL(430, 40),"特急’やくも’の発車。",1,1,2,,PSET
8410 SYMBOL(430, 80),"レールとフランジの摩擦",1,1,2,,PSET
8420 SYMBOL(430,100),"音が収録できました。 ",1,1,2,,PSET
8430 RETURN
8440 *MS07
8450 *MS08
8460 LOAD@ "DE10.TIF",(0,300)
8470 SYMBOL(430, 20),"DE10の入換作業。 ",1,1,5,,PSET
8480 RETURN
8490 *MS09
8500 LOAD@ "SUNLINER.TIF",(0,300)
8510 SYMBOL(430, 20),"快速サン・ライナー通過",1,1,5,,PSET
8520 SYMBOL(430, 40),"イラストはサンライナー",1,1,5,,PSET
8530 SYMBOL(430, 60),"のグリーン車ですが、 ",1,1,5,,PSET
8540 SYMBOL(430, 80),"音の方は只の115 系版の",1,1,5,,PSET
8550 SYMBOL(430,100),"サン・ライナーです。 ",1,1,5,,PSET
8560 SYMBOL(430,140),"失礼しました。 (^_^; ",1,1,3,,PSET
8570 SYMBOL(430,180),"’マリン・ライナー’と",1,1,5,,PSET
8580 SYMBOL(430,200),"同型です。 ",1,1,5,,PSET
8590 RETURN
8600 *MS10
8610 LOAD@ "KINKO115.TIF",(0,300)
8620 SYMBOL(430, 20),"近郊型115 系通過 ",1,1,5,,PSET
8630 RETURN
8640 *MS11
8650 LOAD@ "YAKUMO.TIF",(0,300)
8660 SYMBOL(430, 20),"振子式特急電車 発車 ",1,1,5,,PSET
8670 RETURN
8680 *MS12
8690 LOAD@ "GETADEN.TIF",(0,300)
8700 SYMBOL(430, 20),"しまった! ",1,1,2,,PSET
8710 SYMBOL(430, 40)," データがない! ^_^; ",1,1,2,,PSET
8720 SYMBOL(430, 80),"JR最後の釣掛電動機式",1,1,5,,PSET
8730 SYMBOL(430,100),"電車の発車(車内)です",1,1,5,,PSET
8740 SYMBOL(430,140),"重連のため、パワーが ",1,1,5,,PSET
8750 SYMBOL(430,160),"あり余っている? ",1,1,5,,PSET
8760 RETURN